package com.nf.health.app.models;

/**
 * Created by Jason on 2016/5/6.
 */
public class MyDeviceData {
    /**
     *    code = 0;
     data =     {
     weimoburl = url11;
     };
     msg = "\U67e5\U8be2\U6210\U529f";
     success = 1;
     */
    private int code;
    private boolean success;
    private String msg;
    private SubDeviceData data;

    public int getCode() {
        return code;
    }

    public void setCode(int code) {
        this.code = code;
    }

//    public int getSuccess() {
//        return success;
//    }
//
//    public void setSuccess(int success) {
//        this.success = success;
//    }


    public boolean isSuccess() {
        return success;
    }

    public void setSuccess(boolean success) {
        this.success = success;
    }

    public String getMsg() {
        return msg;
    }

    public void setMsg(String msg) {
        this.msg = msg;
    }

    public SubDeviceData getSubDeviceData() {
        return data;
    }

    public void setSubDeviceData(SubDeviceData data) {
        this.data = data;
    }

    @Override
    public String toString() {
        return "DeviceData{" +
                "code=" + code +
                ", success=" + success +
                ", msg='" + msg + '\'' +
                ", subDeviceData=" + data +
                '}';
    }
}
